/* 全局 */
#app,
body,
html {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #f6f8f9;
    display: flex;
    flex-direction: column;
    font-family: 'PingFang SC', serif !important;
    font-weight: 400 !important;
    font-size: 14px;
    -webkit-font-smoothing: antialiased !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: inherit !important;
    font-family: inherit !important;
    font-weight: bold !important;
}

a {
    color: #333;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #000;
    text-decoration: none;
}

a:link {
    text-decoration: none;
}

a:-webkit-any-link {
    text-decoration: none;
}

a,
button,
input,
textarea {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    box-sizing: border-box;
    outline: none !important;
    -webkit-appearance: none;
}

/* 大布局样式 */
.kitegoadminui {
    display: flex;
    flex-flow: column;
}

.kitegoadminui-wrapper {
    display: flex;
    flex: 1;
    overflow: auto;
    height: 100%;
}

/* 全局滚动条样式 */
.scrollable {
    -webkit-overflow-scrolling: touch;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(50, 50, 50, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(50, 50, 50, 0.6);
}

::-webkit-scrollbar-track {
    background-color: rgba(50, 50, 50, 0.1);
}

::-webkit-scrollbar-track:hover {
    background-color: rgba(50, 50, 50, 0.2);
}

/*布局设置*/
.layout-setting {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 3px 0 0 3px;
    bottom: 100px;
    right: 0px;
    z-index: 100;
    background: #409eff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.layout-setting i {
    font-size: 18px;
    color: #fff;
}

/* 头部 */
.kitegoadminui-header {
    height: 58px;
    background: #222b45;
    color: #fff;
    display: flex;
    justify-content: space-between;
}

.kitegoadminui-header-left {
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.kitegoadminui-header-right {
    display: flex;
    align-items: center;
}

.kitegoadminui-header .logo-bar {
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.kitegoadminui-header .logo-bar .logo {
    margin-right: 10px;
    width: 35px;
    height: 35px;
}

.kitegoadminui-header .nav {
    display: flex;
    height: 100%;
    margin-left: 40px;
}

.kitegoadminui-header .nav li {
    padding: 0 10px;
    margin: 0 10px 0 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    list-style: none;
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.kitegoadminui-header .nav li i {
    margin-right: 5px;
}

.kitegoadminui-header .nav li:hover {
    color: #fff;
}

.kitegoadminui-header .nav li.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.kitegoadminui-header .user-bar .panel-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.kitegoadminui-header .user-bar .user label {
    color: #fff;
}

/* 左侧菜单 */
.kitegoadminui-side-split {
    width: 65px;
    flex-shrink: 0;
    background: #222b45;
    display: flex;
    flex-flow: column;
}

.kitegoadminui-side-split-top {
    height: 49px;
}

.kitegoadminui-side-split-top a {
    display: inline-block;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kitegoadminui-side-split-top .logo {
    height: 30px;
    vertical-align: bottom;
}

.kitegoadminui-side-split-scroll {
    overflow: auto;
    overflow-x: hidden;
    height: 100%;
    flex: 1;
}

.kitegoadminui-side-split li {
    cursor: pointer;
    width: 65px;
    height: 65px;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.kitegoadminui-side-split li i {
    font-size: 18px;
}

.kitegoadminui-side-split li p {
    margin-top: 5px;
}

.kitegoadminui-side-split li:hover {
    background: rgba(255, 255, 255, 0.1);
}

.kitegoadminui-side-split li.active {
    background: #409eff;
}

.kitegoadminui-side-split-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 5px;
}

.kitegoadminui-side-split-scroll::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.kitegoadminui-side-split-scroll::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0);
}

.kitegoadminui-side-split-scroll::-webkit-scrollbar-track:hover {
    background-color: rgba(255, 255, 255, 0);
}

.kitegoadminui-side {
    display: flex;
    flex-flow: column;
    flex-shrink: 0;
    width: 210px;
    background: #fff;
    box-shadow: 2px 0 8px 0 rgba(29, 35, 41, 0.05);
    border-right: 1px solid #e6e6e6;
    transition: width 0.3s ease;
}

.not-aside {
    width: 0 !important;
    border-right: none !important;
}

.kitegoadminui-side-top {
    border-bottom: 1px solid #ebeef5;
    height: 50px;
    line-height: 50px;
}

.kitegoadminui-side-top h2 {
    padding: 0 20px;
    font-size: 17px;
    color: #3c4a54;
}

.kitegoadminui-side-scroll {
    overflow: auto;
    overflow-x: hidden;
    flex: 1;
}

.kitegoadminui-side-bottom {
    background: #ffffff;
    border-top: 1px solid #ebeef5;
    height: 74px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kitegoadminui-side-bottom i {
    font-size: 16px;
}

.kitegoadminui-side-bottom:hover {
    color: var(--el-color-primary);
}

.kitegoadminui-side.isCollapse {
    width: 65px;
}

.menu-tag {
    position: absolute;
    height: 18px;
    line-height: 18px;
    background: var(--el-color-danger);
    font-size: 13px;
    color: #fff;
    right: 20px;
    border-radius: 18px;
    padding: 0 6px;
}

.el-menu .el-sub-menu__title .menu-tag {
    right: 40px;
}

.el-menu--horizontal > li .menu-tag {
    display: none;
}

/* 右侧内容 */
.kitegoadminui-body {
    flex: 1;
    display: flex;
    flex-flow: column;
    min-width: 0;
    box-sizing: border-box;
    height: 100%;
}

.kitegoadminui-topbar {
    width: 100%;
    height: 50px;
    border-bottom: 1px solid #ebeef5;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
    display: flex;
    justify-content: space-between;
}

.kitegoadminui-topbar .left-panel {
    display: flex;
    align-items: center;
}

.kitegoadminui-topbar .right-panel {
    display: flex;
    align-items: center;
}

.right-panel-search {
    display: flex;
    align-items: center;
}

.right-panel-search > * + * {
    margin-left: 10px;
}

.kitegoadminui-tags {
    align-content: center;
    height: 50px;
    background: #fff;
    border-bottom: 1px solid #e6e6e6;
}

.kitegoadminui-main {
    overflow: auto;
    background-color: #f6f8f9;
    flex: 1;
}

/*页面最大化*/
.kitegoadminui.main-maximize {
    .main-maximize-exit {
        display: block;
    }

    .kitegoadminui-side-split,
    .kitegoadminui-side,
    .kitegoadminui-header,
    .kitegoadminui-topbar,
    .kitegoadminui-tags {
        display: none;
    }
}

.main-maximize-exit {
    display: none;
    position: fixed;
    z-index: 3000;
    top: -20px;
    left: 50%;
    margin-left: -20px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
}

.main-maximize-exit i {
    font-size: 14px;
    margin-top: 22px;
    color: #fff;
}

.main-maximize-exit:hover {
    background: rgba(0, 0, 0, 0.4);
}

/*定宽页面*/
.kitego-page {
    width: 1230px;
    margin: 0 auto;
}

.fade-transform-leave-active,
.fade-transform-enter-active {
    transition: all 0.2s;
}

.fade-transform-enter-from {
    opacity: 0;
    transition: all 0.2s;
    transform: translateX(-30px);
}

.fade-transform-leave-to {
    opacity: 0;
    transition: all 0.2s;
    transform: translateX(30px);
}

.h-full {
    height: 100%;
}
